package com.sl.water.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * @description:安置区表实体类
 * @author: duan
 * @time: 2025-06-30 14:09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@TableName("plan_e_cun_person")
@Builder
public class PlanECunPerson extends Model<PlanECunPerson> {

    @Schema(description = "ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(description = "村代码")
    private String cun;

    @Schema(description = "类型（值班值守、查险枪险总负责、查险组长、抢险组长、技术专家组组长、技术专家组副组长、技术专家组技术支持）")
    private String kind;

    @Schema(description = "人员")
    private String person;

    @Schema(description = "是否默认(0,1)")
    private Integer isDefault;
}
